package com.ztools.common.model.pc.access;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ztools.common.model.pc.BaseModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * @Author: seeTools
 * @Date: 2023/4/28  17:10
 * @Version 1.0
 */
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("access_record")
public class Record extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 访问IP
     */
    private String accessIp;

    /**
     * appInfo
     */
    private String appInfo;

    /**
     * displayType
     */
    private Integer displayType;

    /**
     * fetchKey
     */
    private String fetchKey;

    /**
     * 位置
     */
    private String position;

    /**
     * tpLt
     */
    private String tpLt;

    /**
     * origIp
     */
    private String origIp;

    /**
     * roleId
     */
    private Integer roleId;

    /**
     * resourceId
     */
    private Integer resourceId;

    /**
     * titleCont
     */
    private String titleCont;

    /**
     * 访问方法
     */
    private String accessMethod;

}
